/**
 * 项目名称：MSHF
 * 包名称：com.mt.edu.domain
 * 文件名称：OnlineQuestion.java
 */
package com.mt.edu.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 类名称：OnlineQuestion <br>
 * 类描述： 在线问题<br>
 * 创建人： 马腾 <br>
 * 创建时间：Apr 28, 2014 11:16:36 PM <br>
 * 修改人： 马腾 <br>
 * 修改时间：Apr 28, 2014 11:16:36 PM <br>
 */

@Entity
@Table(name="OL_ONLINE_QUESTION_ACK")
public class OnlineQuestion implements Serializable {

	private static final long serialVersionUID = 6197046961064217745L;
	
	@Id
	@Column(name = "ONLINE_QUESTION_ID")
	private String id;
	
	@ManyToOne(fetch=FetchType.LAZY)
	@JoinColumn(name="COURSES_ID")
	private Course course;
	
	@Column(name = "QUESTIONER_TYPE")
	private Short type;
	
	@Column(name = "QUESTIONER_ID")
	private String questioner;
	
	@Column(name = "QUESTIONER_NAME")
	private String questionerName;
	
	@Column(name = "QUESTION_TITLE")
	private String title;
	
	@Column(name = "QUESTION_CONTENT")
	private String content;
	
	@Column(name = "QUESTION_STUTAS")
	private Short status;
	
	@Column(name = "EXERCISES_TAG")
	private String tag;
	
	@Column(name = "CREATE_DT")
	private Date createDt;
	
	@Column(name = "UPDATE_DT")
	private Date updateDt; 
	
	@Column(name = "OPERATOR")
	private String operator;
	
	@Column(name = "RESERVED1")
	private String reserved1;
	
	@Column(name = "RESERVED2")
	private String reserved2;
	
	@Column(name = "RESERVED3")
	private String reserved3;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public Short getType() {
		return type;
	}

	public void setType(Short type) {
		this.type = type;
	}

	public String getQuestioner() {
		return questioner;
	}

	public void setQuestioner(String questioner) {
		this.questioner = questioner;
	}
	
	public String getQuestionerName() {
		return questionerName;
	}

	public void setQuestionerName(String questionerName) {
		this.questionerName = questionerName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}

	public Date getUpdateDt() {
		return updateDt;
	}

	public void setUpdateDt(Date updateDt) {
		this.updateDt = updateDt;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}
	
}
